package com.springaop.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("test")
@RestController
@Slf4j
public class TestController {

    @RequestMapping("t1")
    public String t1(){
        log.info("t1");
        return "t1";
    }

    @RequestMapping("t2")
    public String t2(){
        log.info("t2");
        return "t2";
    }
    @RequestMapping("t3")
    public String t3(){
        log.info("t3");
        return "t3";
    }

}
